<div class="yiiForm">
<?php
	echo EHtml::form();	
	EHtml::setOptions(array('errorElement'=> 'span'));
?>
<div style="padding:10px 110px">注：<span class="required">*</span>为必填项</div>
<div id="one1">
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'loading_place'); ?>
<?php echo EHtml::activeTextField($model,'loading_place',array('size'=>40,'maxlength'=>100));?>
</div>
<div class="simple1">
<?php echo CHtml::activeLabelEx($model,'pod_place'); ?>
<?php echo EHtml::activeTextField($model,'pod_place',array('size'=>40,'maxlength'=>100));?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'mileage'); ?>
<?php echo EHtml::activeTextField($model,'mileage',array('size'=>8,)); ?>
</div>
<div class="simple1">
<?php echo CHtml::activeLabelEx($model,'perform_pay'); ?>
<?php echo EHtml::activeTextField($model,'perform_pay',array('size'=>8,)); ?>
</div>
</div>
<div class="action">
<?php echo EHtml::submitButton($update ? '更新信息' : '添加信息'); ?>
</div>

<?php echo EHtml::endForm(); ?>

</div><!-- yiiForm -->
<?php if($model->hasErrors()) echo "<script>alert('您填写的信息有误！请根据页面红色图标提示修改。');</script>";?>